Skip to content

Fix: do not use the value field as a next pointer - #1419

Merged
bratpiorka merged 1 commit into
oneapi-src:mainfrom
ldorau:Fix_do_not_use_the_value_field_as_a_next_pointer
Jul 4, 2025
Merged

Fix: do not use the value field as a next pointer#1419
bratpiorka merged 1 commit into
oneapi-src:mainfrom
ldorau:Fix_do_not_use_the_value_field_as_a_next_pointer

Conversation

@ldorau

@ldorau ldorau commented Jul 4, 2025

Copy link
Copy Markdown
Contributor

Do not use the value field as a next pointer,
because it sometimes can lead to race conditions
and reusing already used leaves like here:
https://github.com/ldorau/unified-memory-framework/actions/runs/16074523240/job/45366469415

Description

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

Do not use the value field as a next pointer,
because it sometimes can lead to race conditions
and reusing already used leaves.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau
ldorau requested a review from a team as a code owner July 4, 2025 14:05
@ldorau
ldorau requested review from bratpiorka and lplewa July 4, 2025 14:05
@ldorau

ldorau commented Jul 4, 2025

Copy link
Copy Markdown
Contributor Author

@lplewa @bratpiorka please review

@bratpiorka
bratpiorka merged commit 2dda433 into oneapi-src:main Jul 4, 2025
144 of 150 checks passed
@ldorau
ldorau deleted the Fix_do_not_use_the_value_field_as_a_next_pointer branch July 11, 2025 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants